#define _CRT_SECURE_NO_WARNINGS
#include <iostream>
#include <stdio.h>
#include <string>
using namespace std;

//@file   : null
//@author : Chizuru
//@date   : 2024/4/1
//@brief  : null

void find_min_max(int arr[], int len, int* min_p, int* max_p) {
    *min_p = arr[0];
    *max_p = arr[0];
    for (size_t i = 1; i < len; i++) {
        if (arr[i] > *max_p) {
            *max_p = arr[i];
        }
        if (arr[i] < *min_p) {
            *min_p = arr[i];
        }
    }
}




int main(void) {

    return 0;

}
